home *** CD-ROM | disk | FTP | other *** search
- Path: isc-newsserver.isc.rit.edu!css0958
- From: css0958@osfmail.isc.rit.edu (SWANSON)
- Newsgroups: comp.lang.c
- Subject: Packing characters
- Date: 7 Jan 1996 19:28:29 GMT
- Organization: Rochester Institute of Technology, Rochester, NY
- Message-ID: <4cp6st$phk@news.isc.rit.edu>
- NNTP-Posting-Host: grace.isc.rit.edu
-
- Problem: I have a value like this: XXX.YYY where the X and Y's
- are numbers, like in an ip address. The values are 0-255.
-
- What is the best way to store them so they take up the least
- amount of room? Later I need to traansmit them in a packet
- header, so space is an issue.
-
-
- Thanks,
-
- Carl
- css0958@grace.rit.edu
-
-